#ifndef SHELL_GUI_IMPL_HPP_INCLUDED
#define SHELL_GUI_IMPL_HPP_INCLUDED

#include "GUI/guiimpl.hpp"

class ShellGUIImpl : public GUIImpl
{
public:
	ShellGUIImpl();
	~ShellGUIImpl(){};
	int Init(int argc, char** argv);
	int MainLoop();
	int CreateWindow();
	
	void Update(const Image& image);
	void DoEvents(int s);
	
	static ShellGUIImpl *_guiimpl;
	
private:
	bool FinishFlag;
	
	static void onMouse( int event, int x, int y, int, void*);
};
#endif // SHELL_GUI_IMPL_HPP_INCLUDED
